package com.util;

/**
 * @author Ricky
 * @date 2020-9-3
 */
public class StringUtils {
    public static boolean isEmpty(Object text) {
        if (text == null) {
            return true;
        }
        if (!(text instanceof String)) {
            return true;
        }
        return "".equals(String.valueOf(text).trim());
    }
}
